package com.ww.juc.futureandcallable;

public class SubmitRunnableAndResult implements Runnable {
	
	private UserInfo userInfo;
	
	public SubmitRunnableAndResult(UserInfo userInfo) {
		super();
		this.userInfo = userInfo;
	}

	@Override
	public void run() {
		userInfo.setUsername("张三");
		userInfo.setPassword("zhangsan");
	}
}
